package cn.kgc.layui.utils;

/**
 * @author: mosin
 * @version: v1.0  2022/9/15
 */
public enum CodeMsg {

    ADD_SUCCESS(0,"添加成功"),
    DELETE_SUCCESS(0,"删除成功"),
    UPDATE_SUCCESS(0,"修改成功"),
    SELECT_SUCCESS(0,"查询成功"),
    OPERATE_FAILED(500,"操作失败");

    private  Integer code;
    private  String msg;

    CodeMsg(Integer code,String msg){
        this.code  = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
